package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 井盖当前状态表 视图
 *
 * @author code-generate
 * @date 2021-09-06
 */
@Data
@ApiModel(value = "ManholeCur 视图", description = "井盖当前状态表 视图")
public class ManholeCurVO implements Serializable{

    /**
     * 自增id
     */
    private Integer id;

    @ApiModelProperty(value = "设备id")
    @Excel(name = "设备id", orderNum = "0")
    private Integer deviceId;

        /**
     * 终端编号
     */
    @ApiModelProperty(value = "终端编号")
    @Excel(name = "终端编号", orderNum = "0")
    private String deviceCode;

    /**
     * 终端类型: d2-井盖锁 d3-监测终端
     */
    @ApiModelProperty(value = "终端类型: d2-井盖锁 d3-监测终端")
    @Excel(name = "终端类型: d2-井盖锁 d3-监测终端", orderNum = "0")
    private String deviceType;

    /**
     * 电池状态：0-正常 1-低电
     */
    @ApiModelProperty(value = "电池状态：0-正常 1-低电")
    @Excel(name = "电池状态：0-正常 1-低电", orderNum = "0")
    private Integer voltageStatus;

    /**
     * 电压值：3.5V
     */
    @ApiModelProperty(value = "电压值：3.5V")
    @Excel(name = "电压值：3.5V", orderNum = "0")
    private Float voltage;

    /**
     * 锁状态：0-关 1-开
     */
    @ApiModelProperty(value = "锁状态：0-关 1-开")
    @Excel(name = "锁状态：0-关 1-开", orderNum = "0")
    private Integer lockStatus;

    /**
     * 倾斜状态：0-正常 1-倾斜
     */
    @ApiModelProperty(value = "倾斜状态：0-正常 1-倾斜")
    @Excel(name = "倾斜状态：0-正常 1-倾斜", orderNum = "0")
    private Integer leanStatus;

    /**
     * 倾斜角度值
     */
    @ApiModelProperty(value = "倾斜角度值")
    @Excel(name = "倾斜角度值", orderNum = "0")
    private Integer leanValue;

    /**
     * 上报时间
     */
    @ApiModelProperty(value = "上报时间")
    @Excel(name = "上报时间", orderNum = "0")
    private String reportTime;

    /**
     * 基站小区标识
     */
    @ApiModelProperty(value = "基站小区标识")
    @Excel(name = "基站小区标识", orderNum = "0")
    private String cellId;

    /**
     * 物理小区标识
     */
    @ApiModelProperty(value = "物理小区标识")
    @Excel(name = "物理小区标识", orderNum = "0")
    private Integer pci;

    /**
     * 信号接收功率
     */
    @ApiModelProperty(value = "信号接收功率")
    @Excel(name = "信号接收功率", orderNum = "0")
    private Integer rsrp;

    /**
     * 信号接收质量
     */
    @ApiModelProperty(value = "信号接收质量")
    @Excel(name = "信号接收质量", orderNum = "0")
    private Integer rsrq;

    /**
     * 接收信号强度
     */
    @ApiModelProperty(value = "接收信号强度")
    @Excel(name = "接收信号强度", orderNum = "0")
    private Integer rssi;

    /**
     * 信噪比
     */
    @ApiModelProperty(value = "信噪比")
    @Excel(name = "信噪比", orderNum = "0")
    private Integer snr;

    /**
     * 当前频段：5-电信 8-移动
     */
    @ApiModelProperty(value = "当前频段：5-电信 8-移动")
    @Excel(name = "当前频段：5-电信 8-移动", orderNum = "0")
    private Integer band;

    /**
     * 阈值，取值范围：0-65的整数。需要修改终端倾斜阈值时，可返回该值。		阈值为以下值时，进行特殊处理，灵敏度提高：		0 - 阈值5°		1 - 阈值7°		2 - 阈值10°		3 - 阈值15°		4 - 阈值20°		5 - 阈值30°		6 - 阈值40°		7 - 阈值50°		8 - 阈值60°
     */
    @ApiModelProperty(value = "阈值，取值范围：0-65的整数。需要修改终端倾斜阈值时，可返回该值。		阈值为以下值时，进行特殊处理，灵敏度提高：		0 - 阈值5°		1 - 阈值7°		2 - 阈值10°		3 - 阈值15°		4 - 阈值20°		5 - 阈值30°		6 - 阈值40°		7 - 阈值50°		8 - 阈值60°")
    @Excel(name = "阈值，取值范围：0-65的整数。需要修改终端倾斜阈值时，可返回该值。		阈值为以下值时，进行特殊处理，灵敏度提高：		0 - 阈值5°		1 - 阈值7°		2 - 阈值10°		3 - 阈值15°		4 - 阈值20°		5 - 阈值30°		6 - 阈值40°		7 - 阈值50°		8 - 阈值60°", orderNum = "0")
    private Integer threshold;

    @ApiModelProperty(value = "iot平台编码")
    @Excel(name = "iot平台编码")
    public String iotCode;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", orderNum = "0")
    private LocalDateTime dbCreateDate;

    /**
     *   对应t_sys_user.c_id
     */
    @ApiModelProperty(value = "  对应t_sys_user.c_id")
    @Excel(name = "  对应t_sys_user.c_id", orderNum = "0")
    private Integer dbCreateId;

    /**
     * 最后更新时间
     */
    @ApiModelProperty(value = "最后更新时间")
    @Excel(name = "最后更新时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbLastUpdateDate;

    /**
     *  对应t_sys_user.c_id
     */
    @ApiModelProperty(value = " 对应t_sys_user.c_id")
    @Excel(name = " 对应t_sys_user.c_id", orderNum = "0")
    private Integer dbLastUpdateId;


}
